<%@ page contentType="text/html;charset=UTF-8" trimDirectiveWhitespaces="true"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<c:set var="extLibs" value="validate,grid"/>
<sys:header title="福利发放管理 - 节日福利" extLibs="${extLibs}"/>
<sys:footer extLibs="${extLibs}"/>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>福利列表</title>
	<link href="${ctxStatic}/setMealList/css/caidan.css" rel="stylesheet" type="text/css">
</head>

<body>

<div class="fuwu">
	<div class="title">节日福利套餐<p><span></span></p></div>
	<ul id="fuli_list">
		<c:forEach items="${list}" var="s">
			<li onclick="addtab('${s.id}')"><a href="#">
				<div class="fuli_pic"><img src="${s.image}"></div><div class="fuli_txt1">${s.name}</div><div class="fuli_txt2"><p class="price">价格：¥${s.price}</p>${s.remarks}</div></a></li>
		</c:forEach>
		<div class="clear"></div></ul>
</div>
</body>
</html>
<script type="text/javascript">

	function addtab(id){
		console.log(id);
		var url="${ctx}/mal/malSetMeal/setMealForm?id="+id;
		addTabPage($(this),"套餐明细",url,null,null,true);
	};
</script>